package com.horse.cloud.framework.mybatis.datasource;

import lombok.Data;

/**
 * @editor: intelliJ IDEA 16.1.3
 * @author: bing.Pan
 * @e-Mail: 15923508369@163.com
 * @gmDate: 2018/3/15/03/2018 14:32:下午2:32
 * @siDesc:
 */


@Data
public class DataSourceInfo {

    private Boolean  master;

    private String   driveClassName;
    private String   connUrl;
    private String   userName;
    private String   password;

    private int      initialSize;
    private int      maxActive;
    private int      minIdle;
    private long     maxWait;
    private boolean  defaultAutoCommit;
    private boolean  removeAbandoned;
    private long     removeAbandonedTimeout;
    private long     numTestsPerEvictionRun;
    private String   connectionProperties;
    private String   validationQuery;
    private boolean  testWhileIdle;

    private long     minEvictableIdleTimeMillis;
    private long     timeBetweenEvictionRunsMillis;
    private Boolean  testOnBorrow;
    private Boolean  testOnReturn;


}
